﻿using System.IO;

using Utilities.Media.Containers.Wav;

namespace Utilities.Media.Containers
{
    public class OggContainer : StreamContainer
    {
        // Buffer for each stream (Queue ?)

        // Lecture
        public OggContainer(string path) : this(File.Open(path, FileMode.Open))
        {
        }
        public OggContainer(Stream stream) : base(stream)
        {
        }

        // Ecriture
        public OggContainer(string path, short numChannels, short bitsPerSample, int sampleRate, AudioFormat audioFormat) : this(File.Open(path, FileMode.Create), numChannels, bitsPerSample, sampleRate, audioFormat)
        {
        }
        public OggContainer(Stream stream, short numChannels, short bitsPerSample, int sampleRate, AudioFormat audioFormat) : base(stream)
        {
        }
    }
}
